SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52958: PROC TABULATE and PROC REPORT might produce an error when creating an output data set using the GENMAX= data set option for a SAS® generation data set

DetailsAboutRate It

An error might be generated with the TABULATE procedure or the REPORT procedure when creating an output data set using the GENMAX= data set option for a new or existing SAS® generation data set. If the generation data set exists, the GENMAX= option is used to change the maximum number of generations for the SAS generation library.

For example, the following program creates a new SAS generation data set with the OUT= option in the PROC TABULATE statement:

libname new "c:\test\";

data new.inputdata;
   input x y;
   datalines;
1 2
1 3
2 1
2 4
;
run;

proc tabulate data=new.inputdata out=new.tabgen(genmax=5);
   class x y;
   table x*y;
run;

The following error is produced when running the program above:

ERROR: File WORK.TABGEN.DATA does not exist.

If you try to run the TABULATE procedure code again, the following error is produced:

ERROR: Open of file NEW.TABGEN.DATA for OUTPUT failed; another copy of the file is open for OUTPUT/UPDATE.


Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows Server 20089.3 TS1M19.4 TS1M2
Microsoft Windows Server 2008 R29.3 TS1M19.4 TS1M2
Windows 7 Ultimate x649.3 TS1M19.4 TS1M2
Windows 7 Ultimate 32 bit9.3 TS1M19.4 TS1M2
Linux for x649.3 TS1M19.4 TS1M2
64-bit Enabled Solaris9.3 TS1M19.4 TS1M2
Windows 7 Professional x649.3 TS1M19.4 TS1M2
Windows 7 Professional 32 bit9.3 TS1M19.4 TS1M2
Windows 7 Home Premium x649.3 TS1M19.4 TS1M2
Windows 7 Home Premium 32 bit9.3 TS1M19.4 TS1M2
Windows 7 Enterprise x649.3 TS1M19.4 TS1M2
z/OS9.3 TS1M19.4 TS1M2
Z649.3 TS1M19.4 TS1M2
Microsoft® Windows® for x649.3 TS1M19.4 TS1M2
HP-UX IPF9.3 TS1M19.4 TS1M2
Solaris for x649.3 TS1M19.4 TS1M2
Linux9.3 TS1M19.4 TS1M2
64-bit Enabled AIX9.3 TS1M19.4 TS1M2
64-bit Enabled HP-UX9.3 TS1M19.4 TS1M2
Microsoft Windows Server 2008 for x649.3 TS1M19.4 TS1M2
Windows 7 Enterprise 32 bit9.3 TS1M19.4 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.